package com.kzd.gtboon.main.service

import android.view.LayoutInflater
import androidx.fragment.app.FragmentTransaction
import com.kzd.gtboon.R
import com.kzd.gtboon.databinding.ActivityServiceMessageBinding
import com.kzd.gtboon.main.MainServiceFragment
import com.module.lemlin.owner.OwnerViewBindingActivity

class ServiceMessageActivity : OwnerViewBindingActivity<ActivityServiceMessageBinding>() {

    override val inflate: (LayoutInflater) -> ActivityServiceMessageBinding
        get() = ActivityServiceMessageBinding::inflate

    override fun initView() {
        val transaction: FragmentTransaction = supportFragmentManager.beginTransaction()
        transaction.replace(R.id.flServiceMessageBody,
            MainServiceFragment.newInstance(isHideBack = true))
        transaction.commit()
    }
}